﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Logistics.Web
{
    public class AlipayConfig
    {

        // 应用ID,您的APPID
        public static string AppId = "202100211567875565";

        // 支付宝网关
        public static string GatewayUrl = "https://openapi.alipay.com/gateway.do";

        // 商户私钥，您的原始格式RSA私钥
        public static string PrivateKey = "MIIEogIBAAKCAQEAmPTrpjtM75eRH+FtJ5I3TxU3zG/6uZ4oRI7ut8IQyZ5GQFDAVG/y4HfDOtkhtcqEVp5CLnwvqewZwoljNO599cYgo1vNEMXaTkPQGL7x4kbmWJAmHH7Uk8w93ah2TmXDsUgT+omxKjroKyKbcGVH1lku2wmuod5yljGbdZvS+u8/NFNwEwTJGNhGUuaN3F6H+nt5CKzLy/8yarivqbWK7IMVBsiw0f3PbpPd7YMBTNP38KY72S7MPKUdaS3boSNWwaSlOtdtcHoi9Qi/W1hbfyw2ti6h1/MeBJjHjzmrO/HsbWyXUE6ny3hwBsTKvcOvwynu3kayTOE7FReJUHgjhCtwIDAQABAoIBABWHvDfs9voT40lBHS4hguq2kKhidknNRxriaNmaFXtxnMhBYen/h6wy9gav9U32X15uj2MBtiEYoxnpZPz8ktt2BnRqlKwFzt7LffANtSEZB70fGG5NNdF4RA9043wuEMfUtx4E9KdW3E9E5Q41jHuvG4Hi3IyyZbGz/lzD/oN2DQ06xbHJ5ADdCSFwsSKOEXix6ChElVpD67hpTmTLr7WdtqmmS/mU/BnAdOb5Tb2AZLfMySShWNqL5sci+MD3PDwmpsnhWgAbi2iL702KGJOcRWZrTGRX+z33UJ9gTjb2wI6zMXugu/XzGH3fiZiovcwEYnzIxzGd+c3GUU364HkCgYEA8Ihk+3QRAhlUfXqQJku2ZXIuMrEvvdngglKO/6tJuY0D1E1OsjxtDt46vPoOiLqXIoepVxWk1tJHBYh+0yGwBRNm2c2ri3Z4/8ITiI2qAYdGHdhJlVIHk8EKF6cQur5bUQ1gJzE7dsh+JMmH1wmUwSIwIvCmW2bIZfb1WtPhiuMCgYEAosrdgYFZSH2LyxYoeiRl6SR2G1QrXTVZpHOx7wmbqBEgKHqoYHoFi+4DqVaK5WUu4sakO80PwhPIroWNZDWQJeHKB3TiOgAZyZWz5Eba9gtAzFXFEnvLgyawh1k0zYGOJAotx/jaec7vjJzA9w/7noiHvSwletnVXy2XX/hKDR0CgYBHza+3kNJy+fTK8IePpxJv/kHkSBikaCIpRVQC5rM/fOUjv2A6vOchhR2rxEoKbwkm+bCHmqJ2rpcdA744cNoG6d/OLSOEon1EfD8wiHmzsxovVp3AwZgZd4r3vJu145WHAKMvj/bcYsWlXbP7cZTCgt4zz/sZVfmE1tAvqQivWQKBgDuV7YXdhoSWD3kCX0Z11CeGBQTzxfuT73/WKSbJaYQW4KJwYvkNMMKLGCP/XU+hvYucEbkh0cbD3wyiLaKkSGLVRlF8YuG/77Btby77EGJGtC0Wp8+gKFmU68Be0oj2BsUCRMeROsajC+N37NmBrCPW7Xg8lGtnGEaCNYoXI2OxAoGAfSEBTW9iJVNTXC/Eh0bme9j14iwGnCqHbMQOtvaTaoPvE93OSSqHhdoCyeNtw5xdherfpT+SrFCdvcOtAC46kMqgo5et8odTCn0fBf7NS1h7TKHSVyCi9mFXqwpQEQXMz+pKvjAi9dZq2uXzt2uHD7g2B64JZ3txkvFVCMmotY4=";

        // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
        public static string AlipayPublicKey = "MIIBIjANBgkqhkiG95ew0BAQEFAAOCAQ8AMIIBCgKCAQEApGopWu2VgGQHHSgTa4C6P4fUFeTJ5tumjiV0+hU5qxsPRDVsOa4FPFN7KLforHp6cbUc0rPO+qr2MFqr/ejnV4T9V6sNnU1PDI/c7jaEd6ZIQ9e+kTJgeuK+7WA3nxoLTSmlR9fM+A8y5C63e0GUhjYNLmUC31xdLQzrdao35+6Oq5cF+LEAi0IrEvlzdsckPei6Rqmyod5P0EJ5TufHXyKk1z66+wUC6Vn4G7w0sJO1iWBLV72DltrURo0Uxo1Aj6qZKWCuG79TiSRNBN+uzBfdnOinq3vycDuDST0xfo9IDFcHjjHGm9axKElDw4EQGoNlFZ4WgHQBceFbsBFjywIDAQAB";

        // 签名方式
        public static string SignType = "RSA2";

        // 编码格式
        public static string CharSet = "UTF-8";

        public static string Format = "json";
    }
}
